/*
**  File: /Users/jd/progs/aquad/sub/lib/Functs.h
*/
void ProgramInit( int arc, char **arv );
char *GetVar( char *var, const Boolean stop_on_err );
Boolean MoreArg( void );
char *NextArg( void );
void InitFortranIO( void );
void WaitCR( void );
char *ReadWord( char *s, int n, const Boolean stop_at_newl, FILE *fp );
char *ReadLine( char *s, int n, FILE *fp );
int FlushLine( FILE *fp );
void PrintChars( char *c, size_t len );
void FPrintChars( FILE *fp, char *c, size_t len );
void CopyChars( char *a, char *b, size_t len );
size_t LenChars( char *c, size_t len );
Boolean IsEmptyStr( char *c );
size_t LenStr( char *c );
Boolean IsEmptyChar( const char c );
void Blank( char *c, int len );
void ToUpperStr( char *c );
void ToLowerStr( char *c );
char *FirstNonBlank( char *c );
char *LastNonBlank( char *c, int len );
char *FirstBlank( char *c );
void RemLeadSpc( char *a, const size_t n );
void SaveToTxtBuffer( char *line );
void WriteTxtBuffer( FILE *fp );
void DelTxtBuffer( void );
void NoMemErr( char *mess );
void NoMemErrF( char *fct_name, char *mess );
void FatalErr( char *fct_name, char *mess );
